package com.ruoyi.machine.advanced.repair.apply.service;

import com.ruoyi.machine.advanced.repair.apply.domain.RepairApply;

import java.util.List;

/**
 * 设备维修申请表
 * 业务层
 */
public interface IRepairApplyService {
    /**
     * 查找设备维修申请
     * @param repairApply
     * @return
     */
    public List<RepairApply> selectRepairApplyList(RepairApply repairApply);

    /**
     * 根据Id查找设备维修申请
     * @param repairApplyId
     * @return
     */
    public RepairApply selectRepairApplyById(String repairApplyId);

    /**
     * 添加设备维修申请
     * @param repairApply
     * @return
     */
    public int insertRepairApply(RepairApply repairApply);

    /**
     * 更新设备维修申请
     * @param repairApply
     * @return
     */
    public int updateRepairApply(RepairApply repairApply);

    /**
     * 删除设备维修申请
     * 仅修改删除标志
     * @param repairApply
     * @return
     */
    public int updateRepairApplyDeleteFlag(RepairApply repairApply);
}
